import request from "./request";

// 分页查询医生绑定服务
export const getDoctorServiceFeeListAPI = (data) => {
  return request.post({
    url: '/doctorServiceFee/page',
    data
  });
};

// 添加绑定关系
export const addDoctorServiceFeeAPI = (data) => {
  return request.post({
    url: '/doctorServiceFee',
    data
  });
};

// 修改绑定关系
export const updateDoctorServiceFeeAPI = (data) => {
  return request.put({
    url: '/doctorServiceFee',
    data
  });
};
export const deleteDoctorServiceFeeAPI = (serviceFeeId) => {
  console.log('请求的删除接口 URL:', `/doctorServiceFee/${serviceFeeId}`);
  return request.delete({url: `/doctorServiceFee/${serviceFeeId}`});
};
